package com.example.listdemo;
import android.app.Activity;
import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;


public class ArrayAdapterActivity extends ListActivity {
	public void onCreate(Bundle savedInstanceState) {  
		super.onCreate(savedInstanceState); 
		String[] strs = {"1","2","3","4","5"};  
        ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,android.R.layout.simple_expandable_list_item_1,strs);  
        setListAdapter(adapter);  
    
	}
	
}
